(function(){"use strict";BX.namespace("BX.Landing.UI.Field");BX.Landing.UI.Field.Pages=function(e){BX.Landing.UI.Field.BaseField.apply(this,arguments);BX.remove(this.input);this.layout.classList.add("landing-ui-field-pages");this.rangeField=this.createRangeField(Number(e.value));this.gridLeft=this.createGridLeft();this.gridRight=this.createGridRight();this.grid=this.createGrid([this.gridLeft,this.gridRight]);this.layout.appendChild(this.grid);this.gridLeft.appendChild(this.rangeField.layout)};BX.Landing.UI.Field.Pages.prototype={constructor:BX.Landing.UI.Field.Pages,__proto__:BX.Landing.UI.Field.BaseField.prototype,createRangeField:function(e){var i=new BX.Landing.UI.Field.Range({items:Array.from({length:100},function(e,i){return{name:i,value:i}}),content:BX.type.isNumber(e)?e:undefined});BX.remove(i.header);return i},createGridLeft:function(){return BX.create("div",{props:{className:"landing-ui-field-pages-grid-left"}})},createGridRight:function(){return BX.create("div",{props:{className:"landing-ui-field-pages-grid-right"}})},createGrid:function(e){return BX.create("div",{props:{className:"landing-ui-field-pages-grid"},children:e})},createButtonField:function(){return new BX.Landing.UI.Button.BaseButton({text:BX.Landing.Loc.getMessage("LANDING_CARDS__ADD_NEW_PAGE_BUTTON"),className:["landing-ui-button-select-link","landing-ui-field-pages-add-button"]})},getValue:function(){return this.rangeField.getValue()}}})();
//# sourceMappingURL=pages_field.map.js